package org.example.friend.service.exam;

import org.example.common.core.model.TableDataInfo;
import org.example.friend.model.exam.dto.ExamQueryDTO;
import org.example.friend.model.exam.dto.ExamRankDTO;
import org.example.friend.model.exam.vo.ExamVO;

import java.util.List;

public interface IExamService {

    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    TableDataInfo redisList(ExamQueryDTO examQueryDTO);

    String getFirstQuestion(Long examId);

    TableDataInfo rankList(ExamRankDTO examRankDTO);


    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);
}
